package com.example.goods_service.service;

import com.example.goods_service.dao.Goods_liyongjie;
import com.example.goods_service.vo.T_commodity;
import com.example.goods_service.vo.T_commodity_allocation;
import com.example.goods_service.vo.T_commodity_category;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsServiceImpl_liyongjie implements GoodsService_liyongjie {

    @Autowired
    Goods_liyongjie liyongjie;

    @Override
    public int insertcat(T_commodity_category category) {
        return liyongjie.insertcat(category);
    }

    @Override
    public int updatecat(T_commodity_category category) {
        return liyongjie.updatecat(category);
    }

    @Override
    public int deletecat(T_commodity_category category) {
        return liyongjie.deletecat(category);
    }

    @Override
    public int deletecatpid(T_commodity_category category) {
        return liyongjie.deletecatpid(category);
    }

    @Override
    public List<T_commodity> selectcom() {
        return liyongjie.selectcom();
    }

    @Override
    public int updacom(T_commodity commodity) {
        return liyongjie.updacom(commodity);
    }

    @Override
    public int deletecom(T_commodity commodity) {
        return liyongjie.deletecom(commodity);
    }

    @Override
    public int deletecompz(int category_id) {
        return liyongjie.deletecompz(category_id);
    }

    @Override
    public int deletecompzgg(T_commodity_allocation allocation) {
        return liyongjie.deletecompzgg(allocation);
    }

    @Override
    public void deleteconfig(int category_id) {
        liyongjie.deleteconfig(category_id);
    }

    @Override
    public void deleteattribute(int category_id) {
        liyongjie.deleteattribute(category_id);
    }
}
